package ups.MapParse;

public class PositionedLetter {
	private Point  	_location;
	private String 	_character;
	private int		_width;
	private Pixel	_color;
	
	public PositionedLetter( String character, Point location, Pixel color )
	{
		this._character = character;
		this._location = location;
		this._color = 	 color;
	}
	
	public int getWidth() {
		return this._width;
	}

	public void setWidth(int width) {
		this._width = width;
	}

	public String getCharacter() {
		return this._character;
	}
	
	public void setCharacter( String character ) {
		this._character = character;
	}

	public Point getLocation() {
		return this._location;
	}
	
	public void setLocation(Point location) {
		this._location = location;
	}
	
	public Pixel getColor() {
		return this._color;
	}
	
	public void setColor( Pixel color ) {
		this._color = color;
	}
	
	@Override
	public String toString() {
		return "(" + this._location.x + ", " + this._location.y + ") := " + this._character + "(" + this.getColor().toString() + ")\n";
	}
}
